<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp" %>
<div class="container">
  <nav class="navbar navbar-default" role="navigation">
	<div class="container-fluid"> 
		<div class="navbar-header">
			<a class="navbar-brand" href="#">天悦</a>
		</div>
		<div>
			<!--向左对齐-->
			<ul class="nav navbar-nav navbar-left">
				<li class="dropdown">
					<a href="#" class="dropdown-toggle" data-toggle="dropdown">
						首页
						<b class="caret"></b>
					</a>
					 <ul class="dropdown-menu">
						<li><a href="#">首页</a></li>
					</ul>
				</li>
			</ul>
			
			<!--向右对齐-->
			<ul class="nav navbar-nav navbar-right">
				<li class="dropdown">
					<a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown">
						<span class="text-success">${user.username }</span> 
							<b class="caret"></b>
						</a>
						<ul class="dropdown-menu">
							<li><a href="#">修改密码</a></li>
						</ul>
					</li>
					<li>
						<a href="${path }/user/logout">安全退出</a>
					</li>
				</ul>
			</div>
		</div>
	</nav>
</div>